local M = {}

function M.isExist(target)
	local isNotExist = (not target) or (not target._proxy) or (target._isRemove == true)
	return not isNotExist
end

function M.removeObj(target)
	if target then
		display.remove(target)
		target._isRemove = true
		target = nil
	end
end

return M